/*    */ package eos.moe.dragoncore.tweaker;
/*    */ 
/*    */ import java.io.File;
/*    */ import java.net.URI;
/*    */ import java.net.URISyntaxException;
/*    */ import java.util.List;
/*    */ import net.minecraft.launchwrapper.ITweaker;
/*    */ import net.minecraft.launchwrapper.Launch;
/*    */ import net.minecraft.launchwrapper.LaunchClassLoader;
/*    */ import org.spongepowered.asm.launch.GlobalProperties;
/*    */ import org.spongepowered.asm.launch.MixinBootstrap;
/*    */ import org.spongepowered.asm.launch.platform.MixinPlatformManager;
/*    */ import org.spongepowered.asm.launch.platform.container.ContainerHandleURI;
/*    */ import org.spongepowered.asm.launch.platform.container.IContainerHandle;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ModTweaker
/*    */   implements ITweaker
/*    */ {
/*    */   private static final String MIXIN_TWEAKER = "org.spongepowered.asm.launch.MixinTweaker";
/*    */   
/*    */   public ModTweaker() {
/* 27 */     injectMixinTweaker();
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public void acceptOptions(List list, File file1, File file2, String str) {}
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public void injectIntoClassLoader(LaunchClassLoader launchClassLoader) {
/*    */     URI uRI;
/*    */     try {
/* 59 */       uRI = getClass().getProtectionDomain().getCodeSource().getLocation().toURI();
/* 60 */     } catch (URISyntaxException uRISyntaxException) {
/* 61 */       throw new RuntimeException(uRISyntaxException);
/*    */     } 
/* 63 */     MixinPlatformManager mixinPlatformManager = MixinBootstrap.getPlatform();
/* 64 */     mixinPlatformManager.addContainer((IContainerHandle)new ContainerHandleURI(uRI));
/*    */   }
/*    */   
/*    */   public String getLaunchTarget() {
/* 68 */     return null;
/*    */   }
/*    */   
/*    */   public String[] getLaunchArguments() {
/* 72 */     return new String[0];
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\tweaker\ModTweaker.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */